<template>
  <div class="goodsCartTitle">
    <div class="center">
        <div class="left">{{goodtitle}}</div>
        <div class="right">查看更多</div>
    </div>
  </div>
</template>

<script>

export default {
    name: 'goodsCartTitle',
    props: {
      title: {
        type: String,
        required: true
      }
    },
    computed: {
      goodtitle() {
        return this.title
      },
    },
    data() {
      return {
      }
    }
  }
</script>
<style scoped lang="scss">
.goodsCartTitle {
    margin: 40px 0;
  .center {
    width: 84%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    .left {
        font-size: 20px;
        font-weight: bold;
        text-shadow: 0px 4px 4px rgba(201,201,201,1);
    }
    .right {
      cursor: pointer;
      width: 90px;
      height: 30px;
      background: #B38F46;
      border-radius: 100px;
      color: #fff;
      font-size: 14px;
      line-height: 30px;
      text-align: center;
    }
  }
}
</style>
